package com.dingding.order.core.pay.dao;

import com.dingding.common.core.base.dao.IBaseDao;
import com.dingding.common.core.beans.Userordert;
import com.dingding.common.core.beans.special.Specialuserlogin;
import com.dingding.order.core.pay.dto.SpecialOrderPayPushDto;
import com.dingding.order.dto.grab.PushCompetitiveOrder;
import com.dingding.order.dto.pay.PassengerPayPushDTO;


/**
 * @Description: 支付订单DAO
 * @author fengshuonan
 * @date 2016年6月3日 下午5:53:07
 */
public interface IOrderPayDao extends IBaseDao<Userordert>{

	
	/**
	 * @Description: 获取支付推送信息
	 * @param passengerId 乘客id
	 * @param driverId 车主id
	 * @author fengshuonan
	 * @return PassengerPayPushDTO
	 */
	public PassengerPayPushDTO getPayPushInfo(String passengerId,String driverId);
	
	/**
	 * @Description:乘客扣款
	 * @author fengshuonan
	 * @return PushCompetitiveOrder
	 */
	public PushCompetitiveOrder passengerDebit(Userordert userordert,PushCompetitiveOrder pushCompetitiveOrder);
	
	/**
	 * @Description:获取司机的推送id
	 * @author fengshuonan
	 * @since 2.4
	 */
	public String getDriversAliasId(String driverId);
	
	/**
	 * @Description:获取车主的登录bean
	 * @author fengshuonan
	 * @since 2.4
	 */
	Specialuserlogin getSpecialUserLogin(String driverId);
}
